package com.fyx.entity;

import lombok.Data;
import org.springframework.data.annotation.Transient;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import javax.persistence.Column;
import java.sql.Timestamp;
import java.util.List;

@Data
@Document(collection = "ad_data")
public class AdvertisingEntity {
    @Transient
    private List<Timestamp> qTime;

    @Field("_id")
    @Column(name="_id")
    private String id;

    private Long time;

    private int all_click_num;

    private int click_num;

    private int look_over_num;

    private long regNumCount1;
    private long regNum1;

    private long regNumCount2;
    private long regNum2;

    private long notRegNumCount1;
    private long notRegNum1;

    private long notRegNumCount2;
    private long notRegNum2;

    private  long  todayClick;

}
